<template>
  <div>
  <NavBar></NavBar>
  <IndexList class="index-list"></IndexList>
</div>
</template>

<script>
import NavBar from "./comps/NavBar.vue";
import IndexList from "./comps/IndexList.vue";
export default {
  name: "IndexPage",
  mounted(){
    if (window.innerWidth > 768) {
      this.$router.push("/PCIndex");
    }
  },
  components: {
    NavBar,
    IndexList,
  },
};
</script>

<style scoped>
  .index-list {
    margin-top: 40px;
  }
</style>